﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities
{
    public class Division
    {
        private List<AbstractVegetables> vegetables;

        public void AddVegetable(AbstractVegetables vegetable)
        {
            if (vegetables == null)
            {
                vegetables = new List<AbstractVegetables>();
            }

            vegetables.Add(vegetable);
        }

        public List<AbstractVegetables> Vegetables
        {
            get { return vegetables; }
        } 
    }
}
